<h3 class="title-page">Hành trình phiếu gửi</h3>

<?php $this->widget('backend.widgets.iGridView', array(
	'id' => 'delivery-move-detail-model-grid',
	'dataProvider' => $model->search(),
	//'filter' => $model,
	'columns' => array(
		'id',
		//'code',
		'created_datetime',
		//'type',
		array(
			'name'=>'office_id',
			'value'=>'OfficeModel::model()->findByPk($data->office_id)->name'
		),
			array(
			'name'=>'order_ticket_id'	,
			'value'=>'DeliveryOrderTicketModel::model()->findByPk($data->order_ticket_id)->code'			
),
		/*
		'note',
		'weight',
		*/
		array(
			'class'=>'webroot.widgets.iButtonColumn',
			'htmlOptions'=>array('width'=>'50'),
		),
	),
)); ?>